/*
 * @Author: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @Date: 2022-10-28 08:08:31
 * @LastEditors: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @LastEditTime: 2022-11-04 14:53:45
 * @FilePath: \宏烨找房\agent\src\Route\index.jsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import React, { lazy }  from 'react'

const Login=lazy(()=>import('../page/Login/index.jsx'))
const Home =lazy(()=>import('../page/Home/index.jsx'))
const BuyHouse = lazy(() => import('../page/buyHouse/index.jsx'));
const RentHouse = lazy(() => import('../page/rentHouse/index.jsx'));
const Message = lazy(() => import('../page/Message/index.jsx'));
const CityCircle = lazy(() => import('../page/cityCircle/index.jsx'));
const Live = lazy(() => import('../page/Live/index.jsx'));
const Bulk = lazy(() => import('../page/Bulk/index.jsx'));

export const RouterList = [
    {
        path:'/',
        redirect:'/',
        element: <Login />
    },
    {
        path:'/home',
        element: <Home />
    },
    {
        path: '/buyHouse',
        element: <BuyHouse />
    },
    {
        path: '/rentHouse',
        element: <RentHouse />
    },
    {
        path: '/message',
        element: <Message />
    },
    {
        path: '/cityCircle',
        element: <CityCircle />
    },
    {
        path: '/live',
        element: <Live />
    },
    {
        path: '/bulk',
        element: <Bulk />
    },
]